package com.feshfans.byteconvert.data;


import com.feshfans.byteconvert.annotation.Bytes;
import ognl.OgnlException;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;

public class TestData extends ConvertData {

    @Bytes(sort = 1,length = 1)
    private Byte b;
    @Bytes(sort = 2,length = 2)
    private short s;
    @Bytes(sort = 3,length = 4)
    private Integer version;
    @Bytes(sort = 4,length = 8)
    private Long l;
    @Bytes(sort = 5,length = 8)
    private BigInteger bi;
    @Bytes(sort = 6,length = 8)
    private BigDecimal bd;
    @Bytes(sort = 7,length = 4)
    private String str;
    @Bytes(sort = 8,length = 1)
    private TestData2 testData2;
    @Bytes(sort = 9,length = 1)
    private List<TestData2> testData2List;


    public TestData() throws OgnlException, IllegalAccessException {
        super();
    }
}
